STEP 4: We'll use a loop to roll our number cube so we can repeat the action a lot of times.

  • In LOGIC, click on . Drag out Loop with Range.
  • Change the number in range to 10.
  • Click on . Drag out Random Integer.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)